[FileProvider] Update bindings up to Xcode 27.0 Beta 3 - #26165
Conversation
Add NSFileProviderNamespacePolicy and the optional NSFileProviderItem.NamespacePolicy property for iOS and macOS 27.0. Document the new API, preserve availability metadata on the generated protocol extension accessor, and classify the Mac Catalyst enum report as an xtro false positive because the SDK marks the API unavailable there. Remove the resolved FileProvider todo files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fe80ca19-5b64-4a96-9795-67459b9ecbe7
There was a problem hiding this comment.
Pull request overview
Updates the FileProvider binding surface to match Xcode 27.0 Beta 3, adding the new namespace-policy API and aligning xtro expectations with SDK availability (especially for Mac Catalyst).
Changes:
- Added the
NSFileProviderNamespacePolicyenum (iOS/macOS 27.0; unavailable on tvOS/Mac Catalyst). - Bound the optional
NSFileProviderItem.NamespacePolicyproperty and ensured its generated optional-member extension preserves availability metadata. - Removed resolved xtro
.todoentries and classified the Mac Catalyst enum report as a false positive via.ignore.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/xtro-sharpie/api-annotations-dotnet/macOS-FileProvider.todo | Removed resolved FileProvider todo entries (file removed). |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-FileProvider.todo | Removed resolved todo entry (file removed). |
| tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-FileProvider.ignore | Added ignore entry for NSFileProviderNamespacePolicy on Mac Catalyst with updated rationale. |
| tests/xtro-sharpie/api-annotations-dotnet/iOS-FileProvider.todo | Removed resolved FileProvider todo entries (file removed). |
| src/fileprovider.cs | Added NSFileProviderNamespacePolicy enum and NSFileProviderItem.NamespacePolicy optional property with synced availability on accessor. |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #9879e17] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 195 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Summary
NSFileProviderNamespacePolicyfor iOS and macOS 27.0.NSFileProviderItem.NamespacePolicyproperty and preserve availability metadata on its generated extension accessor.Validation
make world